extends ../layout

block content
    .container
        form.form-horizontal(method="post", action="/admin/movie/new", style="position: relative;left: 100px;")
            .form-group
                .row
                    label.col-sm-1.control-label(for="inputTitle", style="position: relative;top: 8px;") 电影名字
                    .col-sm-9
                        input#inputTitle.form-control(type="text", name="movie[title]",
                        value="#{movie.title}")
            .form-group
                .row
                    label.col-sm-1.control-label(for="inputDoctor", style="position: relative;top: 8px;") 电影导演
                    .col-sm-9
                        input#inputDoctor.form-control(type="text", name="movie[doctor]",
                        value="#{movie.doctor}")
            .form-group
                .row
                    label.col-sm-1.control-label(for="inputCountry", style="position: relative;top: 8px;left: 32px;") 国家
                    .col-sm-9
                        input#inputCountry.form-control(type="text", name="movie[country]",
                        value="#{movie.country}")
            .form-group
                .row
                    label.col-sm-1.control-label(for="inputLanguage", style="position: relative;top: 8px;left: 32px;") 语种
                    .col-sm-9
                        input#inputLanguage.form-control(type="text", name="movie[language]",
                        value="#{movie.language}")
            .form-group
                .row
                    label.col-sm-1.control-label(for="inputPoster", style="position: relative;top: 8px;") 海报地址
                    .col-sm-9
                        input#inputPoster.form-control(type="text", name="movie[poster]",
                        value="#{movie.poster}")
            .form-group
                .row
                    label.col-sm-1.control-label(for="inputFlash", style="position: relative;top: 8px;") 片源地址
                    .col-sm-9
                        input#inputFlash.form-control(type="text", name="movie[flash]",
                        value="#{movie.flash}")
            .form-group
                .row
                    label.col-sm-1.control-label(for="inputYear", style="position: relative;top: 8px;") 上映年代
                    .col-sm-9
                        input#inputYear.form-control(type="text", name="movie[year]",
                        value="#{movie.year}")
            .form-group
                .row
                    label.col-sm-1.control-label(for="inputSummary", style="position: relative;top: 8px;") 电影简介
                    .col-sm-9
                        input#inputSummary.form-control(type="text", name="movie[summary]",
                        value="#{movie.summary}")
            .form-group
                .row
                    .col-offset-sm-2.col-sm-12
                        button.btn.btn-default(type="submit") 录入
